﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IsikFxWcfService;
using System.Net.Mime;
using System.Collections;
public partial class _Default : System.Web.UI.Page
{
    Helper helper = new Helper();
    protected void Page_Load(object sender, EventArgs e)
    {
        ltrFrame.Text = "<iframe src=\"\" width=\"1\" style=\"display: none\" id=\"downloader\"></iframe>";
    }

    public string WcfserviceAccess
    {
        get
        {
            return "Emre";
        }
    }

    public string EncryptedUrl
    {
        get
        {
            return helper.EncryptUrl(Context.Request.ApplicationPath + "/FileDownloader.aspx");
        }
    }
    protected void btn_Click(object sender, EventArgs e)
    {
        Response.Redirect(helper.EncryptUrl("default2.aspx"));
    }
}